package org.imlinker.login;

/**
 * 帐号信息的保存类，包括user,password,host,domain,port。 这些在登录xmpp服务器过程中
 * 所需要使用到的变量。
 * 
 */
public class Account extends Object {

	public Account() {
	}

	public Account(String user, String password) {
		this.user = user;
		this.password = password;
	}

	public Account(String user, String password, String host, String domain,
			String port) {
		this.user = user;
		this.password = password;
		this.host = host;
		this.domain = domain;
		this.port = port;
	}

	public void setUser(String newUser) {
		user = newUser;
	}

	public String getUser() {
		return user;
	}

	public void setPassword(String newPassword) {
		password = newPassword;
	}

	public String getPassword() {
		return password;
	}

	public void setHost(String newHost) {
		host = newHost;
	}

	public String getHost() {
		return host;
	}

	public void setDomain(String newDomain) {
		domain = newDomain;
	}

	public String getDomain() {
		return domain;
	}

	public void setPort(String newPort) {
		port = newPort;
	}

	public String getPort() {
		return port;
	}

	private String user;

	private String password;

	private String host;

	private String domain;

	private String port;

}